package org.jeecg.modules.baseData.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.baseData.entity.BeiDouZhongDuan;
import org.jeecg.modules.baseData.dto.BeiDouZhongDuanDTO;

import java.util.HashMap;

/**
 * @Description: 北斗终端
 * @Author: wangfupeng
 * @Date:   2021-02-02
 * @Version: V1.0
 */
public interface IBeiDouZhongDuanService extends IService<BeiDouZhongDuan> {


    public IPage<HashMap<String, Object>> getPageList(Page<BeiDouZhongDuan> page, BeiDouZhongDuanDTO tbBeiDouZhongDuanDTO);

    /**
     * 北斗终端绑定物联网卡
     * @param terminalId
     * @param cardId
     */
    void  bindCard(String terminalId, String cardId);
    /**
     * 北斗终端和物联网卡的关联id
     *
     * @param wuLianWangKaReBeiDouZhongDuanId
     */
    void cancelBindCard(String wuLianWangKaReBeiDouZhongDuanId);
}
